using System;
using System.Linq.Expressions;

namespace Mite
{
	public interface IQuery : IDisposable
	{
		Table Table { get; }

		IQuery Select(params Column[] columns);

		IQuery Where(Expression<Func<TableRow, bool>> predicate);

		IQuery Join(Expression<Func<TableRow, TableRow, bool>> criteria);
	}
}